<!DOCTYPE html>
<html>
<head>
<?php $this->load->view('head'); ?>
</head>
<body>
<?php $this->load->view('header'); ?>
<div class="main_wrap">
	<div class="box_wrap register cc">
		<div class="reg_activation">
<?php if ($from == 'login') { ?>
			<h1><?php echo $username; ?>，欢迎您回来，请激活您的帐号！</h1>
<?php } else { ?>
			<h1><?php echo $username; ?>，恭喜您注册成为{@G:sitename}会员</h1>
<?php } ?>
			<p class="text">{@G:sitename} 已向 <span id="J_orgin_email"><?php echo $email; ?></span> 发送激活邮件。<br>
			请您立即登录该邮箱，并点击邮件中的激活链接，即可开通帐户完成注册。<a href="<?php echo $goto_email; ?>" class="btn btn_submit f12" target="_blank">查看激活邮件</a></p>
			<div class="reg_activation_tip">
				<h2>提示：</h2>
				<p>若您长时间未收到激活邮件，请检查您的垃圾箱或广告箱，邮件有可能被误认为垃圾或广告邮件。<br>
				如确认无法找到您的激活邮件，可<a id="J_re_send" href="<?php echo site_url('register/send_active_email_again?statu=' . $statu); ?>" class="s4">重新发送激活邮件</a>，也可<a id="J_email_change_btn" href="#" class="s4">更改邮箱地址</a>，用其他的邮箱再收一封新的激活邮件。</p>
			</div>
		</div>
	</div>
	<div id="J_email_change_wrap" class="core_pop_wrap" style="display:none;">
		<div class="core_pop">
			<div style="width:380px;">
				<form id="J_email_form" action="<?php echo site_url('register/edit_email'); ?>" method="post">
					<input type="hidden" value="<?php echo $statu; ?>" name="statu" />
					<div class="pop_top"><a href="#" class="pop_close" id="J_email_close">关闭</a><strong>修改邮箱地址</strong></div>
					<div class="p20">
						<div class="tips" id="J_email_tip" style="display:none;"></div>
						<div style="display:none;margin:27px 0 10px 82px;" class="fl mail_down" id="J_email_list"></div>
						<div class="cc">
							<span class="mr10" style="line-height:26px;">新邮箱地址：</span><span class="must_red mr10" style=" position:inherit;">*</span><input autocomplete="off" name="email" id="J_email_input" type="text" class="input length_4">
						</div>
					</div>
					<div class="pop_bottom">
						<button class="btn btn_submit mr10" type="submit">确定</button><button id="J_email_cancl" class="btn" type="button">取消</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
<?php $this->load->view('footer'); ?>
</body>
</html>
